package com.sinosoft;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author loujiang
 * @date 2020/12/28 5:21 下午
 * @NOTE:
 */

@SpringBootApplication
@EnableDiscoveryClient
public class ConfigBusConsumerApplication {
    public static void main(String[] args) {

        new SpringApplicationBuilder(ConfigBusConsumerApplication.class)
                .web(WebApplicationType.SERVLET).run(args);
    }
}
